﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Benchmark.Core.Communication.Hub.Interface;

namespace Benchmark.Core.Communication.Hub.Server.Impl.Pipe.Validation_Set
{
    public class ServerValidationSet:IValidationSet
    {
      
        
      
        public virtual bool TestOperation<T>(T readString,Benchmark.Core.Communication.Model.HubModel.OperationType operationType)
        {
            if (readString.ToString() == operationType.ToString() + "OK")
                return (true);
            else
                return (false);
        }



        public virtual T RespondOperation<T>(Model.HubModel.OperationType operationType)
        {
            throw new NotImplementedException();
        }
    }
}
